<?php
/**
 * Author: lf
 * Blog: https://blog.szdma.com
 * Email: job@szdma.com
 * Created at: 2016-03-24 12:51
 */

use yii\helpers\Url;
use backend\assets\AppAsset;

$this->params['breadcrumbs'] = [
    ['label' => yii::t('app', 'Articles'), 'url' => Url::to(['index'])],
    ['label' => yii::t('app', 'Update').yii::t('app', 'Articles')],
];
/**
 * @var $model backend\models\Article
 */

AppAsset::register($this);
$assets_url = $this->assetBundles[AppAsset::className()]->baseUrl;
?>
<?= $this->render(
    '_form',
    [
        'model' => $model,
        'assets_url' => $assets_url,
    ]
);
